package eu.irreality.dai.ui.cell;

import java.awt.Color;

/*
 Created 26/08/2007 19:04:28
 */

/**
 * The content of a cell containing text.
 */
public class DisplayableCharacter implements DisplayableObject
{

    char c;

    Color color;

    public DisplayableCharacter(char c, Color color)
    {
	this.c = c;
	this.color = color;
    }

    public char getChar()
    {
	return c;
    }

    public Color getColor()
    {
	return color;
    }

    public int getDisplayPriority()
    {
	return 100; // best display priority
    }

    @Override
    public String toString()
    {
	return Character.toString(c);
    }

}
